ExternalFilesInMediaLibrary\Plugin\Helper B

Total Complexity 83
Dependencies 10
Dependents 33
Total lines 732
Lines of code 309
Logical lines of code 160
Comment lines 338
Methods 35
Properties 0

Methods 35

Method Rating Maintainability Complexity Lines of code
delete_directory_recursively()
S
55 7 18
shorten_url()
S
55 6 20
set_capabilities()
S
57 6 16
get_wp_filesystem()
S
55 5 21
get_first_administrator_user()
S
57 4 18
map_old_to_new_interval()
S
60 4 15
get_current_user_id()
S
61 3 12
get_intervals()
S
60 3 12
get_possible_mime_types()
S
48 1 37
get_allowed_mime_types()
S
64 3 10
get_interval_by_time()
S
65 3 9
generate_sizes_filename()
S
63 3 10
get_db_result()
S
72 2 6
get_json()
S
69 2 7
get_db_results()
S
72 2 6
get_as_string()
S
71 2 6
get_404_template()
S
64 2 10
add_array_in_array_on_position()
S
69 2 6
get_gprd_url()
S
72 2 6
get_mimetypes_doc_url()
S
72 2 6
is_cli()
S
79 2 3
get_support_url_for_urls()
S
72 2 6
get_plugin_review_url()
S
72 2 6
get_content_type_from_string()
S
68 2 7
get_add_media_url()
S
78 1 3
get_plugin_url()
S
79 1 3
get_plugin_support_url()
S
81 1 3
get_media_library_url()
S
79 1 3
get_plugin_slug()
S
80 1 3
is_plugin_active()
S
77 1 3
get_hook_url()
S
81 1 3
get_log_url()
S
79 1 3
get_config_url()
S
80 1 3
get_format_date_time()
S
68 1 6
get_plugin_dir()
S
79 1 3